Debugging Event-Driven Programming
نویسنده
چکیده
The importance of the event-driven programming (EDP) paradigm is on the rise. While EDP has been been common in client-side applications since around 2000 (e.g. GUI development, JavaScript-driven web pages), it has only recently entered the mainstream in the settings of mobile computing (Android, 2008 [15]) and server-side programming (Node.js, 2009 [18]). The EDP paradigm is also a natural way to structure applications written for the burgeoning Internet of Things. However, little effort has been invested in understanding the processes programmers use to develop and debug EDP applications or in developing effective educational approaches for EDP. This research proposes to “debug event-driven programming,” exploring the mental processes EDP developers use to grok their code and considering contextualized educational approaches based on the students’ backgrounds. As a result, educators and systems researchers will be able to make informed decisions about the design of curricula, languages, development environments, and debugging aids. ACM Classification
منابع مشابه
Making Events Less Slippery with eel
Event-driven programming divides a program’s logical control flow into a series of callback functions, making its behavior difficult to follow. However, current program analysis techniques can preserve the event model while making event-driven code easier to read, write, debug and maintain. We designed the Explicit Event Library (libeel) to be amenable to program analysis, and created tools to ...
متن کاملLogtalk 3 User Manual User Manual Logtalk Features Logtalk Nomenclature Message Sending Ii Logtalk User Manual Predicates Inheritance Event-driven Programming Multi-threading Programming Iv Logtalk User Manual Error Handling Documenting Logtalk Programs Installing Logtalk Writing, Running, and Debugging Logtalk Applications
متن کامل
Testing and Debugging Concurrency Bugs in Event-Driven Programs
Event-driven programs are prone to concurrency bugs due their inherent nature of handling asynchronous events. Asynchronous events introduce logical concurrency into these programs making them hard to be thoroughly tested and debugged. However, understanding the root causes and characteristics of concurrency bugs can ease the debugging process and help developers to avoid introducing them. Unfo...
متن کاملLogtalk 3 User Manual User Manual Logtalk Features Logtalk Nomenclature Message Sending Ii Logtalk User Manual Predicates Inheritance Event-driven Programming Multi-threading Programming Iv Logtalk User Manual Error Handling Documenting Logtalk Programs Installing Logtalk Writing, Running, and Debugging Logtalk Programs
متن کامل
Combining Functional And Performance Debugging Of Parallel And Distributed Systems Based On Model-driven Monitoring
In order to program parallel and distributed systems efficiently, a systematic way of defining and understanding the complex behavior of process interactions in concurrent programs is needed. A proven method for understanding existing programs is event-driven monitoring which abstracts the program behavior to a sequence of events. These event traces are analyzed for debugging and tuning of the ...
متن کامل